package drds.binlog.parse.index;

import drds.binlog.common.LifeCycle;
import drds.binlog.common.position.LogPosition;
import drds.binlog.parse.exception.BinlogParseException;


public interface LogPositionManager extends LifeCycle
{

    LogPosition getLatestIndexBy(String destination);

    void persistLogPosition(String destination, LogPosition logPosition) throws BinlogParseException;

}
